Meaning of the word "necessity knows no law" in English

What does "necessity knows no law" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

necessity knows no law

US /nəˈses.ə.t̬i noʊz noʊ lɔː/
UK /nəˈses.ə.ti nəʊz nəʊ lɔː/
"necessity knows no law" picture

Idiom

a proverb meaning that in a situation of extreme need or emergency, one may be forced to ignore rules or laws

Example:
He had to break the speed limit to get his wife to the hospital; necessity knows no law.
The survivors stole food to stay alive, proving that necessity knows no law.